package com.gec.system.mapper;

import com.gec.model.pojo.TNote;
import com.gec.model.pojo.TNoteExample;
import com.gec.model.pojo.TNoteWithBLOBs;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TNoteMapper {
    long countByExample(TNoteExample example);

    int deleteByExample(TNoteExample example);

    int deleteByPrimaryKey(String id);

    int insert(TNoteWithBLOBs record);

    int insertSelective(TNoteWithBLOBs record);

    List<TNoteWithBLOBs> selectByExampleWithBLOBs(TNoteExample example);

    List<TNote> selectByExample(TNoteExample example);

    TNoteWithBLOBs selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TNoteWithBLOBs record, @Param("example") TNoteExample example);

    int updateByExampleWithBLOBs(@Param("record") TNoteWithBLOBs record, @Param("example") TNoteExample example);

    int updateByExample(@Param("record") TNote record, @Param("example") TNoteExample example);

    int updateByPrimaryKeySelective(TNoteWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(TNoteWithBLOBs record);

    int updateByPrimaryKey(TNote record);
}